package com.woniuxy03;

/**
 * @author 作者
 * @create 2025-09-02 17:18
 */
public class Student {
    String name;
    static String schoolName;

    public void notStatic01(){
        System.out.println("not static 01");
    }

    public void notStatic02(){
        this.name="zs";
        this.notStatic01();
        haveStatic02();
        System.out.println("not static 02");
    }

    public static void haveStatic01(){
//        notStatic01();
        Student student = new Student();
        student.notStatic01();
        student.name="aaa";
        System.out.println("have static 01");
//        this.name="aaa";
    }

    public static void haveStatic02(){
        System.out.println("have static 02");
    }


}
